<?php
?>
<?php if (!defined('APP'))die('error!');?>
<!doctype html>
<html>
<head>
    <title>添加员工</title>
    <style>
        table{width: 500px ;height:300px;border: 1px solid black;background-color: #a0d3e8; }
        input{height: 30px ;align-self: center;}
    </style>
</head>
<body>
<div>
    <h1 align="center">添加员工</h1>
    <form method="post" action="./empAdd.php">
        <table align="center">
            <tr><th>姓名:</th><td><input type="text" name="e_name"  /></td></tr>
            <tr><th>所属部门:</th><td><input type="text" name="e_dept" /></td></tr>
            <tr><th>出生年月:</th><td><input type="text" name="date_of_birth" /></td></tr>
            <tr><th>入职日期:</th><td><input type="text" name="date_of_entry" /></td></tr>
            <tr><td colspan="2" align="center">
                    <input type="submit" value="保存资料" />
                    <input type="reset" value="重新填写"  />
                </td></tr>
        </table>
    </form>
</div>
</body>
</html>